#!/bin/sh

if [ -n "`pidof mt-daapd`" ] ; then
    killall mt-daapd 2>/dev/null
fi

sleep 2
%OPTWARE_TARGET_PREFIX%/sbin/mt-daapd -c %OPTWARE_TARGET_PREFIX%/etc/mt-daapd/mt-daapd.conf
